//
//  ViewController.m
//  VVWenxinChat
//
//  Created by 王惠平 on 2017/5/8.
//  Copyright © 2017年 will wang. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()


@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    NSLog(@"%@", NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES).lastObject);

    //用户登录
    [[VVXMPPManager sharedManager] loginWithJID:[XMPPJID jidWithUser:@"will" domain:@"will.cn" resource:@"iOS"] andPassword:@"123"];

    //用户注册
//    [[VVXMPPManager sharedManager] registerWithJID:[XMPPJID jidWithUser:@"wangwu" domain:@"will.cn" resource:@"iOS"] andPassword:@"123"];
    
}
     
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
